<div style="display:none" id="dialog-modal" title="Are you sure ?">
	<p>Delete image: <strong id="dialog-image-title"></strong> ?</p>
</div>


<h1>Event: <%= @event.title %></h1>
<p>Posted Date: <%= @event.created_at %></p>
<p>
  <strong>Description: </strong>
  <%= @event.description %>
</p>


<div class="columns clear">
  <div class="col2-3">
<!-- CONTENT BOX - DATATABLE -->
			<div class="content-box">
			<div class="box-body">
				<div class="box-header clear">
					<ul class="tabs clear">
						<li><a href="#article_list">New Articles</a></li>
                                                <li><a href="#image_list">Hot Articles</a></li>
					</ul>

					
					<h2>Articles</h2>
				</div>
				
				<div class="box-wrap clear">
					
					<!-- DATA-TABLE ONLY -->
					<div id="article_list">
					
						<form method="post" action="">
                                                  
						        <div id="articles"><%= render 'articles' %></div>
							<div class="tab-footer clear">                                                
								<%= link_to 'New Article', new_article_path(:event_id => @event), :class => 'button blue fl-space' %>							
							</div>
                                                
                                                <!-- <%= link_to "new alo", articles_path(:format => :js, :pape => 1),:remote => true, :id => 'new_comment_link' %><div id="dd"></div> -->
                                                </form>
                                                
					</div><!-- /#table -->
                                        
                                        <div id="image_list">
                                          hehehehehe
                                        </div>
					
				</div><!-- end of box-wrap -->
                        </div> <!-- end of box-body -->
			</div> <!-- end of content-box -->
  </div>

  <div class="col1-3 lastcol">
					
					<!-- MINI IMAGES GALLERY -->

						
                                                          <%= render :template => "images/small_gallery" %>			
							
					
				</div>

</div>
                                                    
<%= link_to 'Edit', edit_event_path(@event) %> |
<%= link_to 'Back', events_path %>                                                
